﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace FractalCreator.Computation
{
	public class HistoryItem
	{
		private Bitmap thumbnail;//Bitmap of height 128
		private Fractal fractalParams;

		public HistoryItem(Bitmap Thumbnail, Fractal Params)
		{
			thumbnail = (Thumbnail.GetThumbnailImage((128 * (Thumbnail.Width / Thumbnail.Height)), 128, null, IntPtr.Zero) as Bitmap);
			fractalParams = Params;
		}

		public Bitmap Thumbnail
		{
			get { return thumbnail; }
		}

		public Fractal FractalParams
		{
			get { return fractalParams; }
		}
	}
}
